NGINX_URL=reg.csphere.cn

MAVEN_VERSION=3.3.3 
 
# http://10.251.147.144:8080/jenkins/apache-maven-3.3.3-bin.tar.gz
curl -fsSL http://${NGINX_URL}/jenkins/apache-maven-3.3.3-bin.tar.gz | tar xzf - -C /usr/share && \
 cp  -r /usr/share/apache-maven-3.3.3 /usr/share/maven && \
 ln -s /usr/share/maven/bin/mvn /usr/bin/mvn 
 
 
# MAVEN_HOME /usr/share/maven 
